package com.example.buy.redis;

import com.example.buy.model.User;
import org.springframework.stereotype.Repository;

@Repository
public class UserRedis extends BaseRedis<User>{
    //设置key值
    public static final String REDIS_KEY = "com.example.buy.redis.UserRedis";

    @Override
    protected String getRedisKey() {
        return REDIS_KEY;
    }
}
